package com.saber.accumulator;

import com.saber.bean.Report;
import com.saber.bean.ReportItem;

/**
 *
 * @author sihai
 *
 */
public interface ReportItemAccumulator {

	/**
	 *
	 * @return
	 */
	ReportItem.AccumulatorType[] getSupported();

	/**
	 *
	 * @param report
	 * @param reportItem
	 * @param value
	 */
	void accumulate(Report report, ReportItem reportItem, Object value);
}
